package com.sayice.icemusic.pojo;

import java.util.Arrays;

/**
 * 音乐
 *
 * @author shubing
 */
public class Music {
    /**
     * 音乐 id
     */
    private String id;
    
    /**
     * 音乐名
     */
    private String name;
    
    /**
     * mp3地址
     */
    private String mp3Url;
    
    /**
     * 音乐人名
     */
    private String artistName;
    
    /**
     * 专辑名
     */
    private String albumName;
    
    /**
     * 封面图片地址
     */
    private String imgUrl;
    
    /**
     * 来源
     */
    private String sourceName;
    
    /**
     * 歌词 [[第一句的时间，第一句的内容], [第二句的时间，第二句的内容]……]
     */
    private String[][] lyrics;
    
    public Music() {
    }
    
    public Music(String id, String name, String mp3Url, String artistName, String albumName, String imgUrl, String source, String[][] lyrics) {
        this.id = id;
        this.name = name;
        this.mp3Url = mp3Url;
        this.artistName = artistName;
        this.albumName = albumName;
        this.imgUrl = imgUrl;
        this.sourceName = source;
        this.lyrics = lyrics;
    }
    
    public String getId() {
        return id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getMp3Url() {
        return mp3Url;
    }
    
    public void setMp3Url(String mp3Url) {
        this.mp3Url = mp3Url;
    }
    
    public String getArtistName() {
        return artistName;
    }
    
    public void setArtistName(String artistName) {
        this.artistName = artistName;
    }
    
    public String getAlbumName() {
        return albumName;
    }
    
    public void setAlbumName(String albumName) {
        this.albumName = albumName;
    }
    
    public String getImgUrl() {
        return imgUrl;
    }
    
    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }
    
    public String getSourceName() {
        return sourceName;
    }
    
    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }
    
    public String[][] getLyrics() {
        return lyrics;
    }
    
    public void setLyrics(String[][] lyrics) {
        this.lyrics = lyrics;
    }
    
    @Override
    public String toString() {
        return "Music{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", mp3Url='" + mp3Url + '\'' +
                ", artistName='" + artistName + '\'' +
                ", albumName='" + albumName + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", sourceName='" + sourceName + '\'' +
                ", lyrics=" + Arrays.toString(lyrics) +
                '}';
    }
}
